package com.heima.search.service;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.search.dtos.UserSearchDto;
import com.heima.model.search.vos.SearchArticleVo;

import java.io.IOException;

public interface ArticleSearch {
    /**
     * 文章搜索
     * @param userSearchDto
     * @return
     */
    public ResponseResult search(UserSearchDto userSearchDto) throws IOException;


    public void custorm(SearchArticleVo searchArticleVo);

    /**
     * 自动补全
     */
    public ResponseResult suggestion(UserSearchDto userSearchDto);
}
